package cn.s1995.sloth.bizs.entity;

import cn.s1995.sloth.bizs.entity.base.BaseEntity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import lombok.experimental.Accessors;

/**
 * 货币
 *
 * @author Lex
 * @date 2023-12-12 01:34:37
 */
@Data
@Accessors(chain = true)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@Schema(description = "货币")
@TableName("biz_currency")
public class Currency extends BaseEntity {


	/**
	* ID
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description = "ID")
    private Long id;

	/**
	* 货币编码
	*/
    @Schema(description = "货币编码")
    private String currency;

	/**
	* 货币符号
	*/
    @Schema(description = "货币符号")
    private String symbol;

	/**
	* 是否热门
	*/
    @Schema(description = "是否热门")
    private Boolean isHot;

	/**
	* 排序
	*/
    @Schema(description = "排序")
    private Integer sort;
}
